| |
|
-+ |
198 |
#elif defined(XP_UNIVERSAL_MAC) |
| |
|
|
199 |
#undef IS_LITTLE_ENDIAN |
| |
|
|
200 |
#undef IS_BIG_ENDIAN |
| |
|
|
201 |
#if defined(__LITTLE_ENDIAN__) |
| |
|
|
202 |
#define IS_LITTLE_ENDIAN 1 |
| |
|
|
203 |
#else |
| |
|
|
204 |
#define IS_BIG_ENDIAN 1 |
| |
|
|
205 |
#endif |
| |
| |
|
-+ |
207 |
#ifdef __LP64__ |
| |
|
|
208 |
// Mac x86_64 |
| |
| |
|
-+ |
210 |
#define HAVE_VA_LIST_AS_ARRAY |
| |
| |
|
-+ |
212 |
#define JS_BYTES_PER_BYTE 1L |
| |
|
|
213 |
#define JS_BYTES_PER_SHORT 2L |
| |
|
|
214 |
#define JS_BYTES_PER_INT 4L |
| |
|
|
215 |
#define JS_BYTES_PER_INT64 8L |
| |
|
|
216 |
#define JS_BYTES_PER_LONG 8L |
| |
|
|
217 |
#define JS_BYTES_PER_FLOAT 4L |
| |
|
|
218 |
#define JS_BYTES_PER_DOUBLE 8L |
| |
|
|
219 |
#define JS_BYTES_PER_WORD 8L |
| |
|
|
220 |
#define JS_BYTES_PER_DWORD 8L |
| |
| |
|
-+ |
222 |
#define JS_BITS_PER_BYTE 8L |
| |
|
|
223 |
#define JS_BITS_PER_SHORT 16L |
| |
|
|
224 |
#define JS_BITS_PER_INT 32L |
| |
|
|
225 |
#define JS_BITS_PER_INT64 64L |
| |
|
|
226 |
#define JS_BITS_PER_LONG 64L |
| |
|
|
227 |
#define JS_BITS_PER_FLOAT 32L |
| |
|
|
228 |
#define JS_BITS_PER_DOUBLE 64L |
| |
|
|
229 |
#define JS_BITS_PER_WORD 64L |
| |
| |
|
-+ |
231 |
#define JS_BITS_PER_BYTE_LOG2 3L |
| |
|
|
232 |
#define JS_BITS_PER_SHORT_LOG2 4L |
| |
|
|
233 |
#define JS_BITS_PER_INT_LOG2 5L |
| |
|
|
234 |
#define JS_BITS_PER_INT64_LOG2 6L |
| |
|
|
235 |
#define JS_BITS_PER_LONG_LOG2 6L |
| |
|
|
236 |
#define JS_BITS_PER_FLOAT_LOG2 5L |
| |
|
|
237 |
#define JS_BITS_PER_DOUBLE_LOG2 6L |
| |
|
|
238 |
#define JS_BITS_PER_WORD_LOG2 6L |
| |
| |
|
-+ |
240 |
#define JS_ALIGN_OF_SHORT 2L |
| |
|
|
241 |
#define JS_ALIGN_OF_INT 4L |
| |
|
|
242 |
#define JS_ALIGN_OF_LONG 8L |
| |
|
|
243 |
#define JS_ALIGN_OF_INT64 8L |
| |
|
|
244 |
#define JS_ALIGN_OF_FLOAT 4L |
| |
|
|
245 |
#define JS_ALIGN_OF_DOUBLE 8L |
| |
|
|
246 |
#define JS_ALIGN_OF_POINTER 8L |
| |
|
|
247 |
#define JS_ALIGN_OF_WORD 8L |
| |
| |
|
-+ |
249 |
#define JS_BYTES_PER_WORD_LOG2 3 |
| |
|
|
250 |
#define JS_BYTES_PER_DWORD_LOG2 3L |
| |
|
|
251 |
#define JS_WORDS_PER_DWORD_LOG2 0L |
| |
| |
|
-+ |
253 |
#define JS_STACK_GROWTH_DIRECTION (-1) |
| |
| |
|
-+ |
255 |
#else |
| |
| |
|
-+ |
257 |
#define JS_BYTES_PER_BYTE 1L |
| |
|
|
258 |
#define JS_BYTES_PER_SHORT 2L |
| |
|
|
259 |
#define JS_BYTES_PER_INT 4L |
| |
|
|
260 |
#define JS_BYTES_PER_INT64 8L |
| |
|
|
261 |
#define JS_BYTES_PER_LONG 4L |
| |
|
|
262 |
#define JS_BYTES_PER_FLOAT 4L |
| |
|
|
263 |
#define JS_BYTES_PER_DOUBLE 8L |
| |
|
|
264 |
#define JS_BYTES_PER_WORD 4L |
| |
|
|
265 |
#define JS_BYTES_PER_DWORD 8L
|
| |
| |
|
-+ |
267 |
#define JS_BITS_PER_BYTE 8L |
| |
|
|
268 |
#define JS_BITS_PER_SHORT 16L |
| |
|
|
269 |
#define JS_BITS_PER_INT 32L |
| |
|
|
270 |
#define JS_BITS_PER_INT64 64L |
| |
|
|
271 |
#define JS_BITS_PER_LONG 32L |
| |
|
|
272 |
#define JS_BITS_PER_FLOAT 32L |
| |
|
|
273 |
#define JS_BITS_PER_DOUBLE 64L |
| |
|
|
274 |
#define JS_BITS_PER_WORD 32L |
| |
| |
|
-+ |
276 |
#define JS_BITS_PER_BYTE_LOG2 3L |
| |
|
|
277 |
#define JS_BITS_PER_SHORT_LOG2 4L |
| |
|
|
278 |
#define JS_BITS_PER_INT_LOG2 5L |
| |
|
|
279 |
#define JS_BITS_PER_INT64_LOG2 6L |
| |
|
|
280 |
#define JS_BITS_PER_LONG_LOG2 5L |
| |
|
|
281 |
#define JS_BITS_PER_FLOAT_LOG2 5L |
| |
|
|
282 |
#define JS_BITS_PER_DOUBLE_LOG2 6L |
| |
|
|
283 |
#define JS_BITS_PER_WORD_LOG2 5L |
| |
| |
|
-+ |
285 |
#define JS_ALIGN_OF_SHORT 2L |
| |
|
|
286 |
#define JS_ALIGN_OF_INT 4L |
| |
|
|
287 |
#define JS_ALIGN_OF_LONG 4L |
| |
|
|
288 |
#define JS_ALIGN_OF_INT64 4L |
| |
|
|
289 |
#define JS_ALIGN_OF_FLOAT 4L |
| |
|
|
290 |
#define JS_ALIGN_OF_DOUBLE 4L |
| |
|
|
291 |
#define JS_ALIGN_OF_POINTER 4L |
| |
|
|
292 |
#define JS_ALIGN_OF_WORD 4L |
| |
| |
|
-+ |
294 |
#define JS_BYTES_PER_WORD_LOG2 2L |
| |
|
|
295 |
#define JS_BYTES_PER_DWORD_LOG2 3L |
| |
|
|
296 |
#define JS_WORDS_PER_DWORD_LOG2 1L |
| |
|
|
297 |
#endif |
| |
|
-+ |
1936 |
#define FEATURE_PROC_MODELING 1 |
| |
| |
|
-+ |
1938 |
#ifdef FEATURE_PROC_MODELING |
| |
| |
|
-+ |
1940 |
JSBool gEnableProceduralModeling = JS_TRUE; |
| |
| |
|
-+ |
1943 |
JSBool js_CheckIfMethodExists (JSContext *cx, JSObject *obj, const char *name) |
| |
|
|
1944 |
{ |
| |
|
|
1945 |
jsval fval; |
| |
| |
|
-+ |
1947 |
#if JS_HAS_XML_SUPPORT |
| |
|
|
1948 |
if (OBJECT_IS_XML(cx, obj)) { |
| |
| |
|
-+ |
1950 |
return JS_FALSE; |
| |
|
|
1951 |
} else |
| |
|
|
1952 |
#endif |
| |
|
|
1953 |
if (!JS_GetProperty(cx, obj, name, &fval)) |
| |
|
|
1954 |
return JS_FALSE; |
| |
| |
|
-+ |
1956 |
return JSVAL_IS_OBJECT (fval); |
| |
|
|
1957 |
} |
| |
| |
|
-+ |
1959 |
#endif |
| |
| |
|
-+ |
3573 |
#if FEATURE_PROC_MODELING |
| |
| |
|
-+ |
3575 |
if (gEnableProceduralModeling) |
| |
|
|
3576 |
{ |
| |
|
|
3577 |
rval = FETCH_OPND(-1); |
| |
|
|
3578 |
lval = FETCH_OPND(-2); |
| |
|
|
3579 |
if ((lval && (cond = JSVAL_IS_OBJECT(lval))) || (rval && JSVAL_IS_OBJECT(rval))) |
| |
|
|
3580 |
{ |
| |
|
|
3581 |
static const char name[] = "Equal"; |
| |
|
|
3582 |
jsval retVal; |
| |
|
|
3583 |
jsval *saveStack = fp->spbase; |
| |
|
|
3584 |
fp->spbase = 0; // will force allocation of new stack |
| |
|
|
3585 |
if (cond) |
| |
|
|
3586 |
{ |
| |
|
|
3587 |
if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name)) |
| |
|
|
3588 |
ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal); |
| |
|
|
3589 |
else |
| |
|
|
3590 |
ok = JS_FALSE; |
| |
|
|
3591 |
} |
| |
|
|
3592 |
else |
| |
|
|
3593 |
{ |
| |
|
|
3594 |
if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(rval), name)) |
| |
|
|
3595 |
ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(rval), name, 1 /* argc */, &lval, &retVal); |
| |
|
|
3596 |
else |
| |
|
|
3597 |
ok = JS_FALSE; |
| |
|
|
3598 |
} |
| |
|
|
3599 |
if (fp->spbase) |
| |
|
|
3600 |
js_FreeRawStack (cx, fp->spbase); |
| |
|
|
3601 |
fp->spbase = saveStack; |
| |
|
|
3602 |
if (ok) |
| |
|
|
3603 |
{ |
| |
|
|
3604 |
sp--; |
| |
|
|
3605 |
STORE_OPND(-1, retVal); |
| |
|
|
3606 |
break; |
| |
|
|
3607 |
} |
| |
| |
|
-+ |
3609 |
} |
| |
|
|
3610 |
} //gEnableProceduralModeling |
| |
| |
|
-+ |
3612 |
#endif |
| |
| |
|
-+ |
3733 |
#if FEATURE_PROC_MODELING |
| |
| |
|
-+ |
3735 |
if (gEnableProceduralModeling) |
| |
|
|
3736 |
{ |
| |
|
|
3737 |
if ((lval && (cond = JSVAL_IS_OBJECT(lval))) || (rval && JSVAL_IS_OBJECT(rval))) |
| |
|
|
3738 |
{ |
| |
|
|
3739 |
static const char name[] = "plus"; |
| |
|
|
3740 |
jsval retVal; |
| |
|
|
3741 |
jsval *saveStack = fp->spbase; |
| |
|
|
3742 |
fp->spbase = 0; // will force allocation of new stack |
| |
|
|
3743 |
if (cond) |
| |
|
|
3744 |
{ |
| |
|
|
3745 |
if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name)) |
| |
|
|
3746 |
ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal); |
| |
|
|
3747 |
else |
| |
|
|
3748 |
ok = JS_FALSE; |
| |
|
|
3749 |
} |
| |
|
|
3750 |
else |
| |
|
|
3751 |
{ |
| |
|
|
3752 |
if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(rval), name)) |
| |
|
|
3753 |
ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(rval), name, 1 /* argc */, &lval, &retVal); |
| |
|
|
3754 |
else |
| |
|
|
3755 |
ok = JS_FALSE; |
| |
|
|
3756 |
} |
| |
|
|
3757 |
if (fp->spbase) |
| |
|
|
3758 |
js_FreeRawStack (cx, fp->spbase); |
| |
|
|
3759 |
fp->spbase = saveStack; |
| |
|
|
3760 |
if (ok) |
| |
|
|
3761 |
{ |
| |
|
|
3762 |
sp--; |
| |
|
|
3763 |
STORE_OPND(-1, retVal); |
| |
|
|
3764 |
break; |
| |
|
|
3765 |
} |
| |
| |
|
-+ |
3767 |
} |
| |
|
|
3768 |
} //gEnableProceduralModeling |
| |
| |
|
-+ |
3770 |
#endif |
| |
| |
|
-+ |
3828 |
#if FEATURE_PROC_MODELING |
| |
| |
|
-+ |
3830 |
if (gEnableProceduralModeling) |
| |
|
|
3831 |
{ |
| |
|
|
3832 |
rval = FETCH_OPND(-1); |
| |
|
|
3833 |
lval = FETCH_OPND(-2); |
| |
|
|
3834 |
if (lval && JSVAL_IS_OBJECT(lval)) |
| |
|
|
3835 |
{ |
| |
| |
|
-+ |
3838 |
static const char name[] = "minus"; |
| |
|
|
3839 |
jsval retVal; |
| |
|
|
3840 |
jsval *saveStack = fp->spbase; |
| |
|
|
3841 |
fp->spbase = 0; // will force allocation of new stack |
| |
|
|
3842 |
if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name)) |
| |
|
|
3843 |
ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal); |
| |
|
|
3844 |
else |
| |
|
|
3845 |
ok = JS_FALSE; |
| |
|
|
3846 |
if (fp->spbase) |
| |
|
|
3847 |
js_FreeRawStack (cx, fp->spbase); |
| |
|
|
3848 |
fp->spbase = saveStack; |
| |
|
|
3849 |
if (ok) |
| |
|
|
3850 |
{ |
| |
|
|
3851 |
sp--; |
| |
|
|
3852 |
STORE_OPND(-1, retVal); |
| |
|
|
3853 |
break; |
| |
|
|
3854 |
} |
| |
| |
|
-+ |
3856 |
} |
| |
|
|
3857 |
} //gEnableProceduralModeling |
| |
| |
|
-+ |
3859 |
#endif |
| |
| |
|
-+ |
3864 |
#if FEATURE_PROC_MODELING |
| |
| |
|
-+ |
3866 |
if (gEnableProceduralModeling) |
| |
|
|
3867 |
{ |
| |
|
|
3868 |
rval = FETCH_OPND(-1); |
| |
|
|
3869 |
lval = FETCH_OPND(-2); |
| |
|
|
3870 |
if ((lval && (cond = JSVAL_IS_OBJECT(lval))) || (rval && JSVAL_IS_OBJECT(rval))) |
| |
|
|
3871 |
{ |
| |
|
|
3872 |
static const char name[] = "multiply"; |
| |
|
|
3873 |
jsval retVal; |
| |
|
|
3874 |
jsval *saveStack = fp->spbase; |
| |
|
|
3875 |
fp->spbase = 0; // will force allocation of new stack |
| |
|
|
3876 |
if (cond) |
| |
|
|
3877 |
{ |
| |
|
|
3878 |
if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name)) |
| |
|
|
3879 |
ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal); |
| |
|
|
3880 |
else |
| |
|
|
3881 |
ok = JS_FALSE; |
| |
|
|
3882 |
} |
| |
|
|
3883 |
else |
| |
|
|
3884 |
{ |
| |
|
|
3885 |
if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(rval), name)) |
| |
|
|
3886 |
ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(rval), name, 1 /* argc */, &lval, &retVal); |
| |
|
|
3887 |
else |
| |
|
|
3888 |
ok = JS_FALSE; |
| |
|
|
3889 |
} |
| |
|
|
3890 |
if (fp->spbase) |
| |
|
|
3891 |
js_FreeRawStack (cx, fp->spbase); |
| |
|
|
3892 |
fp->spbase = saveStack; |
| |
|
|
3893 |
if (ok) |
| |
|
|
3894 |
{ |
| |
|
|
3895 |
sp--; |
| |
|
|
3896 |
STORE_OPND(-1, retVal); |
| |
|
|
3897 |
break; |
| |
|
|
3898 |
} |
| |
| |
|
-+ |
3900 |
} |
| |
|
|
3901 |
} //gEnableProceduralModeling |
| |
| |
|
-+ |
3903 |
#endif |
| |
| |
|
-+ |
3908 |
#if FEATURE_PROC_MODELING |
| |
| |
|
-+ |
3910 |
if (gEnableProceduralModeling) |
| |
|
|
3911 |
{ |
| |
|
|
3912 |
rval = FETCH_OPND(-1); |
| |
|
|
3913 |
lval = FETCH_OPND(-2); |
| |
|
|
3914 |
if (lval && JSVAL_IS_OBJECT(lval)) |
| |
|
|
3915 |
{ |
| |
| |
|
-+ |
3918 |
static const char name[] = "divide"; |
| |
|
|
3919 |
jsval retVal; |
| |
|
|
3920 |
jsval *saveStack = fp->spbase; |
| |
|
|
3921 |
fp->spbase = 0; // will force allocation of new stack |
| |
|
|
3922 |
if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name)) |
| |
|
|
3923 |
ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal); |
| |
|
|
3924 |
else |
| |
|
|
3925 |
ok = JS_FALSE; |
| |
|
|
3926 |
if (fp->spbase) |
| |
|
|
3927 |
js_FreeRawStack (cx, fp->spbase); |
| |
|
|
3928 |
fp->spbase = saveStack; |
| |
|
|
3929 |
if (ok) |
| |
|
|
3930 |
{ |
| |
|
|
3931 |
sp--; |
| |
|
|
3932 |
STORE_OPND(-1, retVal); |
| |
|
|
3933 |
break; |
| |
|
|
3934 |
} |
| |
| |
|
-+ |
3936 |
} |
| |
|
|
3937 |
} //gEnableProceduralModeling |
| |
| |
|
-+ |
3939 |
#endif |
| 3532 |
ok = js_DefineProperty(cx, obj, INT_TO_JSID(num + 1), |
<> |
3538 |
// ok = js_DefineProperty(cx, obj, INT_TO_JSID(num + 1), |
| 3533 |
JSVAL_VOID, NULL, NULL, |
|
3539 |
// JSVAL_VOID, NULL, NULL, |
| 3534 |
JSPROP_ENUMERATE, NULL); |
|
3540 |
// JSPROP_ENUMERATE, NULL); |
| |
|
|
3541 |
parstr = JSVAL_TO_STRING(JS_GetEmptyStringValue(cx)); |
| |
| |
|
-+ |
3545 |
} |
| |
| 3547 |
} |
<> |
3555 |
//} |
| |
| 3754 |
sub = REGEXP_PAREN_SUBSTRING(res, slot); |
<> |
3766 |
sub = js_RegExpParenSubString(res, slot); |
| |
| |
|
-+ |
4378 |
JSRegExpStatics * |
| |
|
|
4379 |
js_GetRegExpStatics(JSContext *cx) |
| |
|
|
4380 |
{ |
| |
|
|
4381 |
return &(cx->regExpStatics); |
| |
|
|
4382 |
} |
| |
| |
|
-+ |
4385 |
JSSubString * |
| |
|
|
4386 |
js_RegExpParenSubString(JSRegExpStatics *res, jsuint num) |
| |
|
|
4387 |
{ |
| |
|
|
4388 |
JSSubString *ret = NULL; |
| |
| |
|
-+ |
4390 |
if (num < (jsuint)(res->parenCount)) |
| |
|
|
4391 |
{ |
| |
|
|
4392 |
if (num < 9) |
| |
|
|
4393 |
{ |
| |
|
|
4394 |
ret = &(res->parens[num]); |
| |
|
|
4395 |
} |
| |
|
|
4396 |
else |
| |
|
|
4397 |
{ |
| |
|
|
4398 |
ret = &(res->moreParens[num - 9]); |
| |
|
|
4399 |
} |
| |
|
|
4400 |
} |
| |
|
|
4401 |
else |
| |
|
|
4402 |
{ |
| |
|
|
4403 |
ret = &js_EmptySubString; |
| |
|
|
4404 |
} |
| |
| |
|
-+ |
4406 |
return ret; |
| |
|
|
4407 |
} |
| |
|
-+ |
69 |
#if defined(_MAC) && defined(WIN32) |
| |
|
|
70 |
#define WIN32 0 |
| |
|
|
71 |
#endif |
| |
| |
|
-+ |
73 |
#if WIN32 |
| |
|
|
74 |
#define XP_WIN 1 |
| |
|
|
75 |
#else |
| |
|
|
76 |
#define XP_UNIVERSAL_MAC 1 |
| |
|
|
77 |
#endif |
| |
| 82 |
#define JS_EXTERN_API(__type) extern __declspec(dllexport) __type |
<> |
102 |
#define JS_EXTERN_API(__type) extern __type |
| 83 |
#define JS_EXPORT_API(__type) __declspec(dllexport) __type |
|
103 |
#define JS_EXPORT_API(__type) __type |
| 84 |
#define JS_EXTERN_DATA(__type) extern __declspec(dllexport) __type |
|
104 |
#define JS_EXTERN_DATA(__type) extern __type |
| 85 |
#define JS_EXPORT_DATA(__type) __declspec(dllexport) __type |
|
105 |
#define JS_EXPORT_DATA(__type) __type |
| |
| 90 |
#elif defined(XP_OS2) && defined(__declspec) |
<> |
110 |
#elif defined(WIN16) |
| 91 |
|
|
111 |
|
| 92 |
# define JS_EXTERN_API(__type) extern __declspec(dllexport) __type |
|
112 |
#ifdef _WINDLL |
| 93 |
# define JS_EXPORT_API(__type) __declspec(dllexport) __type |
|
113 |
#define JS_EXTERN_API(__type) extern __type _cdecl _export _loadds |
| 94 |
# define JS_EXTERN_DATA(__type) extern __declspec(dllexport) __type |
|
114 |
#define JS_EXPORT_API(__type) __type _cdecl _export _loadds |
| 95 |
# define JS_EXPORT_DATA(__type) __declspec(dllexport) __type |
|
115 |
#define JS_EXTERN_DATA(__type) extern __type _export |
| 96 |
|
|
116 |
#define JS_EXPORT_DATA(__type) __type _export |
| 97 |
# define JS_DLL_CALLBACK |
|
117 |
|
| 98 |
# define JS_STATIC_DLL_CALLBACK(__x) static __x |
|
118 |
#define JS_DLL_CALLBACK __cdecl __loadds |
| |
|
|
119 |
#define JS_STATIC_DLL_CALLBACK(__x) static __x CALLBACK |
| |
|
|
120 |
|
| |
|
|
121 |
#else /* this must be .EXE */ |
| |
|
|
122 |
#define JS_EXTERN_API(__type) extern __type _cdecl _export |
| |
|
|
123 |
#define JS_EXPORT_API(__type) __type _cdecl _export |
| |
|
|
124 |
#define JS_EXTERN_DATA(__type) extern __type _export |
| |
|
|
125 |
#define JS_EXPORT_DATA(__type) __type _export |
| |
|
|
126 |
|
| |
|
|
127 |
#define JS_DLL_CALLBACK __cdecl __loadds |
| |
|
|
128 |
#define JS_STATIC_DLL_CALLBACK(__x) __x JS_DLL_CALLBACK |
| |
|
|
129 |
#endif /* _WINDLL */ |
| |
| 122 |
# define JS_IMPORT_DATA(__x) __declspec(dllimport) __x |
<> |
154 |
# define JS_IMPORT_DATA(__x) __x |
| |
| 124 |
#elif defined(XP_OS2) && defined(__declspec) |
<> |
|
|
| 125 |
# define JS_IMPORT_API(__x) __declspec(dllimport) __x |
|
|
|
| |
| 131 |
# define JS_IMPORT_DATA(__x) __declspec(dllimport) __x |
<> |
161 |
# define JS_IMPORT_DATA(__x) __x |
| 132 |
#elif defined(XP_OS2) && defined(__declspec) |
|
|
|
| 133 |
# define JS_IMPORT_DATA(__x) __declspec(dllimport) |
|
|
|
| |
| 246 |
#if (defined(XP_WIN) && !defined(CROSS_COMPILE)) || defined (WINCE) |
<> |
276 |
#if (defined(XP_WIN) && !defined(CROSS_COMPILE)) || defined (WINCE) || defined(XP_UNIVERSAL_MAC) |
| |
| |
|
-+ |
280 |
# include "jsosdep.h" |